|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sabro.jbusiness.uteis.Debug
public class Debug
Constructor Summary | |
---|---|
Debug()
|
Method Summary | |
---|---|
static void |
debug(java.lang.String mensagem)
|
static void |
debug(java.lang.Throwable throwable,
java.lang.String mensagem)
|
static void |
debug(java.lang.Throwable throwable,
java.lang.String mensagem,
int nivel)
|
static java.lang.String |
debugActionMap(javax.swing.JComponent comp,
int nivel)
|
static java.lang.String |
debugComponentListeners(javax.swing.JComponent Componente)
Envia para saída padrão do sistema a relação de ComponentListeners definidos para um componente. |
static java.lang.String |
debugComponents(java.awt.Component comp,
int nivel)
Obtém string com os subcomponentes de um componente. |
static java.lang.String |
debugFocusTraversal(java.awt.Component comp,
int id,
int nivel)
Obtém string com detalhamento do FocusTraversal de um objeto. |
static java.lang.String |
debugFocusTraversal(javax.swing.JComponent comp)
Obtém string com detalhamento do FocusTraversal de um objeto. |
static java.lang.String |
debugInputMap(javax.swing.JComponent comp)
Obtém string com o InputMap de um objeto. |
static java.lang.String |
debugInputMap(javax.swing.JComponent comp,
int condition,
int nivel)
Obtém string com o InputMap de um objeto. |
static java.lang.String |
debugKeyListeners(javax.swing.JComponent Componente)
Envia para saída padrão do sistema a relação de KeyListeners definidos para um componente. |
static java.lang.String |
debugUIDefaults()
|
static java.lang.String |
getFocusEventName(int id)
|
static java.lang.String |
getKeyEventName(int id)
|
static java.lang.String |
getMouseEventButtonName(int id)
|
static java.lang.String |
getMouseEventName(int id)
|
static java.lang.String |
getWindowEventName(int id)
|
static java.lang.String |
getWindowEventStateName(int id)
|
static java.lang.StackTraceElement |
ondeEstou()
Informa a posição de chamada da rotina. |
static java.awt.event.AWTEventListener |
startDebugActionEvents(java.lang.String label)
Adiciona um monitoramento de eventos Devolve o listener que foi usado para posterior remoção |
static java.awt.event.AWTEventListener |
startDebugFocusEvent(java.lang.String label)
Adiciona um monitoramento de eventos de foco Devolve o listener que foi usado para posterior remoção |
static java.awt.event.AWTEventListener |
startDebugKeyboardEvent(java.lang.String label)
Adiciona um monitoramento de eventos de teclado Devolve o listener que foi usado para posterior remoção |
static java.awt.event.AWTEventListener |
startDebugMouseEvents(java.lang.String label)
Adiciona um monitoramento de eventos de movimento de mouse Devolve o listener que foi usado para posterior remoção |
static java.awt.event.AWTEventListener |
startDebugMouseMovement(java.lang.String label)
Adiciona um monitoramento de eventos de movimento de mouse Devolve o listener que foi usado para posterior remoção |
static java.awt.event.AWTEventListener |
startDebugOtherEvents(java.lang.String label)
Adiciona um monitoramento de eventos Devolve o listener que foi usado para posterior remoção |
static void |
stopDebugEvents(java.awt.event.AWTEventListener listener)
Remove o listener indicado do gerenciamento de eventos |
static void |
trataErro(java.lang.Exception exception,
java.lang.String mensagem)
|
static void |
trataErro(java.lang.String mensagem)
|
static void |
trataErro(java.lang.String key,
java.lang.String[] parametros)
|
static void |
trataErro(java.lang.Throwable throwable)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Debug()
Method Detail |
---|
public static java.awt.event.AWTEventListener startDebugFocusEvent(java.lang.String label)
public static java.awt.event.AWTEventListener startDebugKeyboardEvent(java.lang.String label)
public static java.awt.event.AWTEventListener startDebugMouseMovement(java.lang.String label)
public static java.awt.event.AWTEventListener startDebugMouseEvents(java.lang.String label)
public static java.awt.event.AWTEventListener startDebugActionEvents(java.lang.String label)
public static java.awt.event.AWTEventListener startDebugOtherEvents(java.lang.String label)
public static void stopDebugEvents(java.awt.event.AWTEventListener listener)
listener
- public static java.lang.String getWindowEventName(int id)
public static java.lang.String getWindowEventStateName(int id)
public static java.lang.String getFocusEventName(int id)
public static java.lang.String getKeyEventName(int id)
public static java.lang.String getMouseEventButtonName(int id)
public static java.lang.String getMouseEventName(int id)
public static java.lang.String debugFocusTraversal(javax.swing.JComponent comp)
public static java.lang.String debugFocusTraversal(java.awt.Component comp, int id, int nivel)
public static java.lang.String debugInputMap(javax.swing.JComponent comp)
public static java.lang.String debugInputMap(javax.swing.JComponent comp, int condition, int nivel)
public static java.lang.String debugActionMap(javax.swing.JComponent comp, int nivel)
public static java.lang.String debugComponents(java.awt.Component comp, int nivel)
public static java.lang.String debugKeyListeners(javax.swing.JComponent Componente)
public static java.lang.String debugComponentListeners(javax.swing.JComponent Componente)
public static java.lang.String debugUIDefaults()
public static java.lang.StackTraceElement ondeEstou()
public static void debug(java.lang.String mensagem)
public static void debug(java.lang.Throwable throwable, java.lang.String mensagem)
public static void debug(java.lang.Throwable throwable, java.lang.String mensagem, int nivel)
public static void trataErro(java.lang.String key, java.lang.String[] parametros)
public static void trataErro(java.lang.String mensagem)
public static void trataErro(java.lang.Throwable throwable)
public static void trataErro(java.lang.Exception exception, java.lang.String mensagem)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |